
<!-- <div class="container">
	<h1>得到单据的图片</h1>
	<form (ngSubmit)="onSubmit()" #heroForm="ngForm">
		<div class="form-group">
			<label for="System">System</label> <input type="text"
				class="form-control" id="System" name="System" [(ngModel)]="getpic.System"
				required>
		</div>

		<div class="form-group">
			<label for="Company">Company</label> <input type="text"
				class="form-control" id="Company" name="Company" [(ngModel)]="getpic.Company" required>
		</div>

		<div class="form-group">
			<label for="BillName">BillName</label> <input type="text"
				class="form-control" id="BillName" name="BillName" [(ngModel)]="getpic.BillName"
				required>
		</div>

		<div class="form-group">
			<label for="KeyId">KeyId</label> 
			<input type="text"	class="form-control" id="KeyId" name="KeyId" [(ngModel)]="getpic.KeyId" required #spy="ngModel">
			<br>TODO: remove this: {{spy.value}}
			<div [hidden]="spy.valid || spy.pristine"
     class="alert alert-danger">
  Name is required
</div>
		</div>

		<button type="submit" btn btn-success" (click)="getpicdata()">getpic</button>
		<button type="submit" class="btn btn-success" [disabled]="!heroForm.form.valid">Submit</button>
		<button type="button" class="btn btn-success" (click)="getpicdata()">getpicdata</button>
		<button type="button" class="btn btn-success" (click)="postpicdata()">postpicdata</button>

	</form>
</div> -->

<p>表单数据双向绑定</p>
<input class="form-control"  [(ngModel)]="myurl">
<p>{{mydata}}</p>
<button type="button" class="btn btn-success" (click)="getdata()">getdata</button>
<button type="button" class="btn btn-success" (click)="postdata()">postdata</button>










